package bg.btanev.eightyfour.repository;

import java.util.List;

import bg.btanev.eightyfour.domain.experience.institution.EducationInstitution;
import bg.btanev.eightyfour.domain.experience.institution.Institution;
import bg.btanev.eightyfour.domain.experience.institution.WorkInstitution;
import bg.btanev.eightyfour.domain.person.ContactInfo;

/**
 *
 * @author B.Tanev
 *
 */
public interface InstitutionRepository {
	List<WorkInstitution> findWorkIntitutions(String name);

	List<EducationInstitution> findEducationInstitutions(String name);

	List<WorkInstitution> findAllWorkIntitutions();

	List<EducationInstitution> findAllEducationInstitutions();

	WorkInstitution createAndStoreWorkInsitution(String name, ContactInfo contactInfo);

	EducationInstitution createAndStoreEducationInstitution(String name, ContactInfo contactInfo);

	void storeInstitution(Institution institution);

	void removeInstitution(Institution institution);
}
